package com.example.demo.view;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.example.demo.bean.SysUser;

@Mapper
public interface SysUserMapper {
        
        @Select(value="select  *  from sys_user ")
        public List<SysUser> queryAll();
        
        public SysUser selectByPrimaryKey(int id_);
        @Select(value="select * from sys_user where account_ =#{userName}")
        public SysUser queryLogin(@Param(value="userName") String userName);
}
